$OpenBSD: patch-kcalcore_tests_CMakeLists_txt,v 1.2 2014/07/09 20:03:30 zhuk Exp $
Fix linking.
--- kcalcore/tests/CMakeLists.txt.orig	Thu May  8 11:26:48 2014
+++ kcalcore/tests/CMakeLists.txt	Sun May 18 22:02:03 2014
@@ -7,11 +7,12 @@ macro(macro_unit_tests)
   foreach(_testname ${ARGN})
     kde4_add_unit_test(${_testname} NOGUI ${_testname}.cpp)
     target_link_libraries(${_testname}
+      kcalcore
       ${KDE4_KDECORE_LIBS}
       ${LIBICAL_LIBRARIES}
       ${QT_QTGUI_LIBRARY}
       ${QT_QTTEST_LIBRARY}
-      kcalcore
+      ${UUID_LIBRARIES}
     )
   endforeach()
 endmacro()
@@ -20,10 +21,11 @@ macro(macro_exec_tests)
   foreach(_testname ${ARGN})
     kde4_add_executable(${_testname} NOGUI TEST ${_testname}.cpp)
     target_link_libraries(${_testname}
+      kcalcore
       ${KDE4_KDECORE_LIBS}
       ${QT_QTCORE_LIBRARY}
       ${QT_QTTEST_LIBRARY}
-      kcalcore
+      ${UUID_LIBRARIES}
     )
   endforeach()
 endmacro()
